package com.gxz.springboot.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HiController {
    @RequestMapping("/hello")    //默认请求的路径和资源的名字冲突
    public String hi() {
        return "hi";
    }
}
